formatting 您所在的位置:网站首页 line one line two formatting

formatting

2023-03-15 05:25| 来源: 网络整理| 查看: 265

I'm writing a document that has a large number of lists containing short enumeration items, and I'd like to be able to [manually] put multiple items on one line. Thus, for example, I'd like to say

\begin{enumerate} \item Goes on first line. \samelineitem Also goes on first line. \item Goes on second line. \end{enumerate}

I'm quite happy with making the one line/two lines decision myself (in fact, I'd prefer it), so all I'm looking for is a macro that will determine the current enum counter, do the right thing regarding horizontal spacing, and print the item. It would be nice if this would work with enumerate, description, and itemize lists (or with general lists). (For a description list, I guess something like \samelineitem[newlabel] Text of item).

Is there a package with such a capability, or would anyone out there like to tell me how to do it? Thanks.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有